
//
//  AddressEmptyView.m
//  ChunLaiZhuangClient
//
//  Created by xielihui on 16/4/7.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import "AddressEmptyView.h"

@implementation AddressEmptyView

- (id)initWithFrame:(CGRect)frame {
    if(self = [super initWithFrame:frame]) {
        NSArray *views = [[NSBundle mainBundle] loadNibNamed:@"AddressEmptyView" owner:self options:nil];
        UIView *view = views[0];
        [self addSubview:view];
        [view mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.bottom.left.right.equalTo(@(0));
        }];
    }
    return self;
}

- (IBAction)addNewAddressAction:(id)sender {
    if (self.AddNewAddressBlock) {
        self.AddNewAddressBlock();
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
